// Created from GenerationTemplate
// For Decisions HL7 Engine
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Reflection;
using DecisionsFramework.Design.Properties;
using Decisions.HL7.Generated.AbstractMessage;
using Decisions.HL7.DataTypes;
using ST = System.String;
using SI = System.String;
using TX = System.String;
using FT = System.String;
using IS = System.String;
using ID = System.String;
using SNM = System.String;

namespace Decisions.HL7.Message
{
    [DataContract]
	public class OBR : AbstractSegment
    {

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("1 Set ID - Observation Request",1)]
  	    [HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.True,"SI")]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.True,"SI")]
	    public SI SetIDObservationRequest {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("2 Placer Order Number",2)]
  	    [HL7Field(HL7Version.v23, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v231, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v24, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 2, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI PlacerOrderNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("3 Filler Order Number",3)]
  	    [HL7Field(HL7Version.v23, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v231, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v24, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 3, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI FillerOrderNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("4 Universal Service Identifier",4)]
  	    [HL7Field(HL7Version.v23, 4, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 4, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v24, 4, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 4, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 4, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 4, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 4, HL7Repeat.False, HL7Required.True,"CWE")]
	    public CWE UniversalServiceIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("5 Priority",5)]
  	    [HL7Field(HL7Version.v23, 5, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 5, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 5, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 5, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 5, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 5, HL7Repeat.False, HL7Required.True,"ID")]
	    public ID Priority {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("6 Requested Date/Time",6)]
  	    [HL7Field(HL7Version.v23, 6, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 6, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 6, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 6, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 6, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 6, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM RequestedDateTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("7 Observation Date/Time #",7)]
  	    [HL7Field(HL7Version.v23, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 7, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 7, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM ObservationDateTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("8 Observation End Date/Time #",8)]
  	    [HL7Field(HL7Version.v23, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 8, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 8, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 8, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM ObservationEndDateTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("9 Collection Volume *",9)]
  	    [HL7Field(HL7Version.v23, 9, HL7Repeat.False, HL7Required.True,"CQ")]
  	    [HL7Field(HL7Version.v231, 9, HL7Repeat.False, HL7Required.True,"CQ")]
  	    [HL7Field(HL7Version.v24, 9, HL7Repeat.False, HL7Required.True,"CQ")]
  	    [HL7Field(HL7Version.v25, 9, HL7Repeat.False, HL7Required.True,"CQ")]
  	    [HL7Field(HL7Version.v251, 9, HL7Repeat.False, HL7Required.True,"CQ")]
  	    [HL7Field(HL7Version.v26, 9, HL7Repeat.False, HL7Required.True,"CQ")]
  	    [HL7Field(HL7Version.v27, 9, HL7Repeat.False, HL7Required.True,"CQ")]
	    public CQ CollectionVolume {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("10 Collector Identifier *",10)]
  	    [HL7Field(HL7Version.v23, 10, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v231, 10, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v24, 10, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v25, 10, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v251, 10, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v26, 10, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v27, 10, HL7Repeat.True, HL7Required.True,"XCN")]
	    public XCN[] CollectorIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("11 Specimen Action Code *",11)]
  	    [HL7Field(HL7Version.v23, 11, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 11, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 11, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 11, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 11, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 11, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 11, HL7Repeat.False, HL7Required.True,"ID")]
		[SpecimenActionCode]
	    public ID SpecimenActionCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("12 Danger Code",12)]
  	    [HL7Field(HL7Version.v23, 12, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 12, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v24, 12, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 12, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 12, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 12, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 12, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE DangerCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("13 Relevant Clinical Information",13)]
  	    [HL7Field(HL7Version.v23, 13, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v231, 13, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v24, 13, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v25, 13, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 13, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 13, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 13, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST RelevantClinicalInformation {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("14 Specimen Received Date/Time",14)]
  	    [HL7Field(HL7Version.v23, 14, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 14, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 14, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 14, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 14, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 14, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 14, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM SpecimenReceivedDateTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("15 Specimen Source",15)]
  	    [HL7Field(HL7Version.v23, 15, HL7Repeat.False, HL7Required.True,"CM_SPS")]
  	    [HL7Field(HL7Version.v231, 15, HL7Repeat.False, HL7Required.True,"SPS")]
  	    [HL7Field(HL7Version.v24, 15, HL7Repeat.False, HL7Required.True,"SPS")]
  	    [HL7Field(HL7Version.v25, 15, HL7Repeat.False, HL7Required.True,"SPS")]
  	    [HL7Field(HL7Version.v251, 15, HL7Repeat.False, HL7Required.True,"SPS")]
  	    [HL7Field(HL7Version.v26, 15, HL7Repeat.False, HL7Required.True,"SPS")]
	    public SPS SpecimenSource {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("16 Ordering Provider",16)]
  	    [HL7Field(HL7Version.v23, 16, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v231, 16, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v24, 16, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v25, 16, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v251, 16, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v26, 16, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v27, 16, HL7Repeat.True, HL7Required.True,"XCN")]
	    public XCN[] OrderingProvider {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("17 Order Callback Phone Number",17)]
  	    [HL7Field(HL7Version.v23, 17, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v231, 17, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v24, 17, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v25, 17, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v251, 17, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v26, 17, HL7Repeat.True, HL7Required.True,"XTN")]
  	    [HL7Field(HL7Version.v27, 17, HL7Repeat.True, HL7Required.True,"XTN")]
	    public XTN[] OrderCallbackPhoneNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("18 Placer Field 1",18)]
  	    [HL7Field(HL7Version.v23, 18, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v231, 18, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v24, 18, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v25, 18, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 18, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 18, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 18, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST PlacerField1 {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("19 Placer Field 2",19)]
  	    [HL7Field(HL7Version.v23, 19, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v231, 19, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v24, 19, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v25, 19, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 19, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 19, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 19, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST PlacerField2 {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("20 Filler Field 1",20)]
  	    [HL7Field(HL7Version.v23, 20, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v231, 20, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v24, 20, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v25, 20, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 20, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 20, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 20, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST FillerField1 {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("21 Filler Field 2",21)]
  	    [HL7Field(HL7Version.v23, 21, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v231, 21, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v24, 21, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v25, 21, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v251, 21, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v26, 21, HL7Repeat.False, HL7Required.True,"ST")]
  	    [HL7Field(HL7Version.v27, 21, HL7Repeat.False, HL7Required.True,"ST")]
	    public ST FillerField2 {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("22 Results Rpt/Status Chng - Date/Time",22)]
  	    [HL7Field(HL7Version.v23, 22, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 22, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 22, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 22, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 22, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 22, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 22, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM ResultsRptStatusChngDateTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("23 Charge to Practice",23)]
  	    [HL7Field(HL7Version.v23, 23, HL7Repeat.False, HL7Required.True,"CM_MOC")]
  	    [HL7Field(HL7Version.v231, 23, HL7Repeat.False, HL7Required.True,"MOC")]
  	    [HL7Field(HL7Version.v24, 23, HL7Repeat.False, HL7Required.True,"MOC")]
  	    [HL7Field(HL7Version.v25, 23, HL7Repeat.False, HL7Required.True,"MOC")]
  	    [HL7Field(HL7Version.v251, 23, HL7Repeat.False, HL7Required.True,"MOC")]
  	    [HL7Field(HL7Version.v26, 23, HL7Repeat.False, HL7Required.True,"MOC")]
  	    [HL7Field(HL7Version.v27, 23, HL7Repeat.False, HL7Required.True,"MOC")]
	    public MOC ChargetoPractice {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("24 Diagnostic Service Section ID",24)]
  	    [HL7Field(HL7Version.v23, 24, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 24, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 24, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 24, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 24, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 24, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 24, HL7Repeat.False, HL7Required.True,"ID")]
		[DiagnosticServiceSectionID]
	    public ID DiagnosticServiceSectionID {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("25 Result Status",25)]
  	    [HL7Field(HL7Version.v23, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 25, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 25, HL7Repeat.False, HL7Required.True,"ID")]
		[ResultStatus]
	    public ID ResultStatus {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("26 Parent Result",26)]
  	    [HL7Field(HL7Version.v23, 26, HL7Repeat.False, HL7Required.True,"CM_PRL")]
  	    [HL7Field(HL7Version.v231, 26, HL7Repeat.False, HL7Required.True,"PRL")]
  	    [HL7Field(HL7Version.v24, 26, HL7Repeat.False, HL7Required.True,"PRL")]
  	    [HL7Field(HL7Version.v25, 26, HL7Repeat.False, HL7Required.True,"PRL")]
  	    [HL7Field(HL7Version.v251, 26, HL7Repeat.False, HL7Required.True,"PRL")]
  	    [HL7Field(HL7Version.v26, 26, HL7Repeat.False, HL7Required.True,"PRL")]
  	    [HL7Field(HL7Version.v27, 26, HL7Repeat.False, HL7Required.True,"PRL")]
	    public PRL ParentResult {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("27 Quantity/Timing",27)]
  	    [HL7Field(HL7Version.v23, 27, HL7Repeat.False, HL7Required.True,"TQ")]
  	    [HL7Field(HL7Version.v231, 27, HL7Repeat.True, HL7Required.True,"TQ")]
  	    [HL7Field(HL7Version.v24, 27, HL7Repeat.True, HL7Required.True,"TQ")]
  	    [HL7Field(HL7Version.v25, 27, HL7Repeat.True, HL7Required.True,"TQ")]
  	    [HL7Field(HL7Version.v251, 27, HL7Repeat.True, HL7Required.True,"TQ")]
  	    [HL7Field(HL7Version.v26, 27, HL7Repeat.True, HL7Required.True,"TQ")]
	    public TQ[] QuantityTiming {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("28 Result Copies To",28)]
  	    [HL7Field(HL7Version.v23, 28, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v231, 28, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v24, 28, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v25, 28, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v251, 28, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v26, 28, HL7Repeat.True, HL7Required.True,"XCN")]
  	    [HL7Field(HL7Version.v27, 28, HL7Repeat.True, HL7Required.True,"XCN")]
	    public XCN[] ResultCopiesTo {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("29 Parent Number",29)]
  	    [HL7Field(HL7Version.v23, 29, HL7Repeat.False, HL7Required.True,"CM_EIP")]
  	    [HL7Field(HL7Version.v231, 29, HL7Repeat.False, HL7Required.True,"EIP")]
  	    [HL7Field(HL7Version.v24, 29, HL7Repeat.False, HL7Required.True,"EIP")]
  	    [HL7Field(HL7Version.v25, 29, HL7Repeat.False, HL7Required.True,"EIP")]
  	    [HL7Field(HL7Version.v251, 29, HL7Repeat.False, HL7Required.True,"EIP")]
  	    [HL7Field(HL7Version.v26, 29, HL7Repeat.False, HL7Required.True,"EIP")]
  	    [HL7Field(HL7Version.v27, 29, HL7Repeat.False, HL7Required.True,"EIP")]
	    public EIP ParentNumber {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("30 Transportation Mode",30)]
  	    [HL7Field(HL7Version.v23, 30, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 30, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 30, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 30, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 30, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 30, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 30, HL7Repeat.False, HL7Required.True,"ID")]
		[TransportationMode]
	    public ID TransportationMode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("31 Reason for Study",31)]
  	    [HL7Field(HL7Version.v23, 31, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 31, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v24, 31, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 31, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 31, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 31, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 31, HL7Repeat.True, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE[] ReasonforStudy {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("32 Principal Result Interpreter",32)]
  	    [HL7Field(HL7Version.v23, 32, HL7Repeat.False, HL7Required.True,"CM_NDL")]
  	    [HL7Field(HL7Version.v231, 32, HL7Repeat.False, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v24, 32, HL7Repeat.False, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v25, 32, HL7Repeat.False, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v251, 32, HL7Repeat.False, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v26, 32, HL7Repeat.False, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v27, 32, HL7Repeat.False, HL7Required.True,"NDL")]
	    public NDL PrincipalResultInterpreter {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("33 Assistant Result Interpreter",33)]
  	    [HL7Field(HL7Version.v23, 33, HL7Repeat.True, HL7Required.True,"CM_NDL")]
  	    [HL7Field(HL7Version.v231, 33, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v24, 33, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v25, 33, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v251, 33, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v26, 33, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v27, 33, HL7Repeat.True, HL7Required.True,"NDL")]
	    public NDL[] AssistantResultInterpreter {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("34 Technician",34)]
  	    [HL7Field(HL7Version.v23, 34, HL7Repeat.True, HL7Required.True,"CM_NDL")]
  	    [HL7Field(HL7Version.v231, 34, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v24, 34, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v25, 34, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v251, 34, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v26, 34, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v27, 34, HL7Repeat.True, HL7Required.True,"NDL")]
	    public NDL[] Technician {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("35 Transcriptionist",35)]
  	    [HL7Field(HL7Version.v23, 35, HL7Repeat.True, HL7Required.True,"CM_NDL")]
  	    [HL7Field(HL7Version.v231, 35, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v24, 35, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v25, 35, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v251, 35, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v26, 35, HL7Repeat.True, HL7Required.True,"NDL")]
  	    [HL7Field(HL7Version.v27, 35, HL7Repeat.True, HL7Required.True,"NDL")]
	    public NDL[] Transcriptionist {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("36 Scheduled Date/Time",36)]
  	    [HL7Field(HL7Version.v23, 36, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v231, 36, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v24, 36, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 36, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 36, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 36, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 36, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM ScheduledDateTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("37 Number of Sample Containers *",37)]
  	    [HL7Field(HL7Version.v23, 37, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v231, 37, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v24, 37, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 37, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 37, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 37, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 37, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM NumberofSampleContainers {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("38 Transport Logistics of Collected Sample *",38)]
  	    [HL7Field(HL7Version.v23, 38, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 38, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v24, 38, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 38, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 38, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 38, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 38, HL7Repeat.True, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE[] TransportLogisticsofCollectedSample {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("39 Collector’s Comment",39)]
  	    [HL7Field(HL7Version.v23, 39, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 39, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v24, 39, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 39, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 39, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 39, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 39, HL7Repeat.True, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE[] CollectorsComment {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("40 Transport Arrangement Responsibility",40)]
  	    [HL7Field(HL7Version.v23, 40, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 40, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v24, 40, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 40, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 40, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 40, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 40, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE TransportArrangementResponsibility {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("41 Transport Arranged",41)]
  	    [HL7Field(HL7Version.v23, 41, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 41, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 41, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 41, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 41, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 41, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 41, HL7Repeat.False, HL7Required.True,"ID")]
		[TransportArranged]
	    public ID TransportArranged {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("42 Escort Required",42)]
  	    [HL7Field(HL7Version.v23, 42, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v231, 42, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v24, 42, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v25, 42, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v251, 42, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v26, 42, HL7Repeat.False, HL7Required.True,"ID")]
  	    [HL7Field(HL7Version.v27, 42, HL7Repeat.False, HL7Required.True,"ID")]
		[EscortRequired]
	    public ID EscortRequired {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("43 Planned Patient Transport Comment",43)]
  	    [HL7Field(HL7Version.v23, 43, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v231, 43, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v24, 43, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 43, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 43, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 43, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 43, HL7Repeat.True, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE[] PlannedPatientTransportComment {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("44 Procedure Code",44)]
  	    [HL7Field(HL7Version.v231, 44, HL7Repeat.False, HL7Required.True,"CE_0088")]
  	    [HL7Field(HL7Version.v24, 44, HL7Repeat.False, HL7Required.True,"CE_0088")]
  	    [HL7Field(HL7Version.v25, 44, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 44, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 44, HL7Repeat.False, HL7Required.True,"CNE")]
  	    [HL7Field(HL7Version.v27, 44, HL7Repeat.False, HL7Required.True,"CNE")]
		[ProcedureCode]
	    public CNE ProcedureCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("45 Procedure Code Modifier",45)]
  	    [HL7Field(HL7Version.v231, 45, HL7Repeat.True, HL7Required.True,"CE_0340")]
  	    [HL7Field(HL7Version.v24, 45, HL7Repeat.True, HL7Required.True,"CE_0340")]
  	    [HL7Field(HL7Version.v25, 45, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 45, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 45, HL7Repeat.True, HL7Required.True,"CNE")]
  	    [HL7Field(HL7Version.v27, 45, HL7Repeat.True, HL7Required.True,"CNE")]
		[Procedurecodemodifier]
	    public CNE[] ProcedureCodeModifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("46 Placer Supplemental Service Information",46)]
  	    [HL7Field(HL7Version.v24, 46, HL7Repeat.True, HL7Required.True,"CE_0411")]
  	    [HL7Field(HL7Version.v25, 46, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 46, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 46, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 46, HL7Repeat.True, HL7Required.True,"CWE")]
		[SupplementalServiceInformationValues]
	    public CWE[] PlacerSupplementalServiceInformation {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("47 Filler Supplemental Service Information",47)]
  	    [HL7Field(HL7Version.v24, 47, HL7Repeat.True, HL7Required.True,"CE_0411")]
  	    [HL7Field(HL7Version.v25, 47, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 47, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 47, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 47, HL7Repeat.True, HL7Required.True,"CWE")]
		[SupplementalServiceInformationValues]
	    public CWE[] FillerSupplementalServiceInformation {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("48 Medically Necessary Duplicate Procedure Reason",48)]
  	    [HL7Field(HL7Version.v25, 48, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v251, 48, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v26, 48, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 48, HL7Repeat.False, HL7Required.True,"CWE")]
		[MedicallyNecessaryDuplicateProcedureReason]
	    public CWE MedicallyNecessaryDuplicateProcedureReason {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("49 Result Handling",49)]
  	    [HL7Field(HL7Version.v25, 49, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v251, 49, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v26, 49, HL7Repeat.False, HL7Required.True,"IS")]
  	    [HL7Field(HL7Version.v27, 49, HL7Repeat.False, HL7Required.True,"CWE")]
		[ObservationResultHandling]
	    public CWE ResultHandling {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("50 Parent Universal Service Identifier",50)]
  	    [HL7Field(HL7Version.v251, 50, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v26, 50, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 50, HL7Repeat.False, HL7Required.True,"CWE")]
	    public CWE ParentUniversalServiceIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("51 Observation Group ID",51)]
  	    [HL7Field(HL7Version.v27, 51, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI ObservationGroupID {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("52 Parent Observation Group ID",52)]
  	    [HL7Field(HL7Version.v27, 52, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI ParentObservationGroupID {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("53 Alternate Placer Order Number",53)]
  	    [HL7Field(HL7Version.v27, 53, HL7Repeat.True, HL7Required.True,"CX")]
	    public CX[] AlternatePlacerOrderNumber {get;set;}


	    [DataMember]
        [PropertyClassification("AdditionalValue1", 54)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue1 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue2", 55)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue2 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue3", 56)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue3 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue4", 57)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue4 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue5", 58)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue5 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue6", 59)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue6 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue7", 60)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue7 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue8", 61)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue8 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue9", 62)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue9 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue10", 63)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue10 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue11", 64)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue11 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue12", 65)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue12 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue13", 66)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue13 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue14", 67)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue14 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue15", 68)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue15 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue16", 69)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue16 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue17", 70)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue17 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue18", 71)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue18 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue19", 72)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue19 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue20", 73)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue20 { get; set; }

	

		internal override void ConsumeTextSegment(string segmentTextData, HL7ParserOptions options)
		{
			string[] segmentTextParts = segmentTextData.Split(new char[] { options.FieldSep }, StringSplitOptions.None);
			SetIDObservationRequest = (SI)ParseTextAtPositionIntoData(segmentTextParts, 1, options, typeof(SI), "OBR.1");
			PlacerOrderNumber = (EI)ParseTextAtPositionIntoData(segmentTextParts, 2, options, typeof(EI), "OBR.2");
			FillerOrderNumber = (EI)ParseTextAtPositionIntoData(segmentTextParts, 3, options, typeof(EI), "OBR.3");
			UniversalServiceIdentifier = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 4, options, typeof(CWE), "OBR.4");
			Priority = (ID)ParseTextAtPositionIntoData(segmentTextParts, 5, options, typeof(ID), "OBR.5");
			RequestedDateTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 6, options, typeof(DTM), "OBR.6");
			ObservationDateTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 7, options, typeof(DTM), "OBR.7");
			ObservationEndDateTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 8, options, typeof(DTM), "OBR.8");
			CollectionVolume = (CQ)ParseTextAtPositionIntoData(segmentTextParts, 9, options, typeof(CQ), "OBR.9");
	    	CollectorIdentifier = (XCN[])ParseTextAtPositionIntoDataArray<XCN>(segmentTextParts, 10, options, "OBR.10");
			SpecimenActionCode = (ID)ParseTextAtPositionIntoData(segmentTextParts, 11, options, typeof(ID), "OBR.11");
			DangerCode = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 12, options, typeof(CWE), "OBR.12");
			RelevantClinicalInformation = (ST)ParseTextAtPositionIntoData(segmentTextParts, 13, options, typeof(ST), "OBR.13");
			SpecimenReceivedDateTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 14, options, typeof(DTM), "OBR.14");
			SpecimenSource = (SPS)ParseTextAtPositionIntoData(segmentTextParts, 15, options, typeof(SPS), "OBR.15");
	    	OrderingProvider = (XCN[])ParseTextAtPositionIntoDataArray<XCN>(segmentTextParts, 16, options, "OBR.16");
	    	OrderCallbackPhoneNumber = (XTN[])ParseTextAtPositionIntoDataArray<XTN>(segmentTextParts, 17, options, "OBR.17");
			PlacerField1 = (ST)ParseTextAtPositionIntoData(segmentTextParts, 18, options, typeof(ST), "OBR.18");
			PlacerField2 = (ST)ParseTextAtPositionIntoData(segmentTextParts, 19, options, typeof(ST), "OBR.19");
			FillerField1 = (ST)ParseTextAtPositionIntoData(segmentTextParts, 20, options, typeof(ST), "OBR.20");
			FillerField2 = (ST)ParseTextAtPositionIntoData(segmentTextParts, 21, options, typeof(ST), "OBR.21");
			ResultsRptStatusChngDateTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 22, options, typeof(DTM), "OBR.22");
			ChargetoPractice = (MOC)ParseTextAtPositionIntoData(segmentTextParts, 23, options, typeof(MOC), "OBR.23");
			DiagnosticServiceSectionID = (ID)ParseTextAtPositionIntoData(segmentTextParts, 24, options, typeof(ID), "OBR.24");
			ResultStatus = (ID)ParseTextAtPositionIntoData(segmentTextParts, 25, options, typeof(ID), "OBR.25");
			ParentResult = (PRL)ParseTextAtPositionIntoData(segmentTextParts, 26, options, typeof(PRL), "OBR.26");
	    	QuantityTiming = (TQ[])ParseTextAtPositionIntoDataArray<TQ>(segmentTextParts, 27, options, "OBR.27");
	    	ResultCopiesTo = (XCN[])ParseTextAtPositionIntoDataArray<XCN>(segmentTextParts, 28, options, "OBR.28");
			ParentNumber = (EIP)ParseTextAtPositionIntoData(segmentTextParts, 29, options, typeof(EIP), "OBR.29");
			TransportationMode = (ID)ParseTextAtPositionIntoData(segmentTextParts, 30, options, typeof(ID), "OBR.30");
	    	ReasonforStudy = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 31, options, "OBR.31");
			PrincipalResultInterpreter = (NDL)ParseTextAtPositionIntoData(segmentTextParts, 32, options, typeof(NDL), "OBR.32");
	    	AssistantResultInterpreter = (NDL[])ParseTextAtPositionIntoDataArray<NDL>(segmentTextParts, 33, options, "OBR.33");
	    	Technician = (NDL[])ParseTextAtPositionIntoDataArray<NDL>(segmentTextParts, 34, options, "OBR.34");
	    	Transcriptionist = (NDL[])ParseTextAtPositionIntoDataArray<NDL>(segmentTextParts, 35, options, "OBR.35");
			ScheduledDateTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 36, options, typeof(DTM), "OBR.36");
			NumberofSampleContainers = (NM)ParseTextAtPositionIntoData(segmentTextParts, 37, options, typeof(NM), "OBR.37");
	    	TransportLogisticsofCollectedSample = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 38, options, "OBR.38");
	    	CollectorsComment = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 39, options, "OBR.39");
			TransportArrangementResponsibility = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 40, options, typeof(CWE), "OBR.40");
			TransportArranged = (ID)ParseTextAtPositionIntoData(segmentTextParts, 41, options, typeof(ID), "OBR.41");
			EscortRequired = (ID)ParseTextAtPositionIntoData(segmentTextParts, 42, options, typeof(ID), "OBR.42");
	    	PlannedPatientTransportComment = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 43, options, "OBR.43");
			ProcedureCode = (CNE)ParseTextAtPositionIntoData(segmentTextParts, 44, options, typeof(CNE), "OBR.44");
	    	ProcedureCodeModifier = (CNE[])ParseTextAtPositionIntoDataArray<CNE>(segmentTextParts, 45, options, "OBR.45");
	    	PlacerSupplementalServiceInformation = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 46, options, "OBR.46");
	    	FillerSupplementalServiceInformation = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 47, options, "OBR.47");
			MedicallyNecessaryDuplicateProcedureReason = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 48, options, typeof(CWE), "OBR.48");
			ResultHandling = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 49, options, typeof(CWE), "OBR.49");
			ParentUniversalServiceIdentifier = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 50, options, typeof(CWE), "OBR.50");
			ObservationGroupID = (EI)ParseTextAtPositionIntoData(segmentTextParts, 51, options, typeof(EI), "OBR.51");
			ParentObservationGroupID = (EI)ParseTextAtPositionIntoData(segmentTextParts, 52, options, typeof(EI), "OBR.52");
	    	AlternatePlacerOrderNumber = (CX[])ParseTextAtPositionIntoDataArray<CX>(segmentTextParts, 53, options, "OBR.53");
		}

		public string GetER7(HL7ParserOptions options) {
			List<string> segmentParts = new List<string>();
			segmentParts.Add("OBR");
		    segmentParts.Add(SetIDObservationRequest);
			segmentParts.Add(GetER7TextForSegmentPart(PlacerOrderNumber, options));
			segmentParts.Add(GetER7TextForSegmentPart(FillerOrderNumber, options));
			segmentParts.Add(GetER7TextForSegmentPart(UniversalServiceIdentifier, options));
		    segmentParts.Add(Priority);
			segmentParts.Add(GetER7TextForSegmentPart(RequestedDateTime, options));
			segmentParts.Add(GetER7TextForSegmentPart(ObservationDateTime, options));
			segmentParts.Add(GetER7TextForSegmentPart(ObservationEndDateTime, options));
			segmentParts.Add(GetER7TextForSegmentPart(CollectionVolume, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(CollectorIdentifier, options));
		    segmentParts.Add(SpecimenActionCode);
			segmentParts.Add(GetER7TextForSegmentPart(DangerCode, options));
		    segmentParts.Add(RelevantClinicalInformation);
			segmentParts.Add(GetER7TextForSegmentPart(SpecimenReceivedDateTime, options));
			segmentParts.Add(GetER7TextForSegmentPart(SpecimenSource, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(OrderingProvider, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(OrderCallbackPhoneNumber, options));
		    segmentParts.Add(PlacerField1);
		    segmentParts.Add(PlacerField2);
		    segmentParts.Add(FillerField1);
		    segmentParts.Add(FillerField2);
			segmentParts.Add(GetER7TextForSegmentPart(ResultsRptStatusChngDateTime, options));
			segmentParts.Add(GetER7TextForSegmentPart(ChargetoPractice, options));
		    segmentParts.Add(DiagnosticServiceSectionID);
		    segmentParts.Add(ResultStatus);
			segmentParts.Add(GetER7TextForSegmentPart(ParentResult, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(QuantityTiming, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(ResultCopiesTo, options));
			segmentParts.Add(GetER7TextForSegmentPart(ParentNumber, options));
		    segmentParts.Add(TransportationMode);
		    segmentParts.Add(GetER7TextForSegmentArrayPart(ReasonforStudy, options));
			segmentParts.Add(GetER7TextForSegmentPart(PrincipalResultInterpreter, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(AssistantResultInterpreter, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(Technician, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(Transcriptionist, options));
			segmentParts.Add(GetER7TextForSegmentPart(ScheduledDateTime, options));
			segmentParts.Add(GetER7TextForSegmentPart(NumberofSampleContainers, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(TransportLogisticsofCollectedSample, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(CollectorsComment, options));
			segmentParts.Add(GetER7TextForSegmentPart(TransportArrangementResponsibility, options));
		    segmentParts.Add(TransportArranged);
		    segmentParts.Add(EscortRequired);
		    segmentParts.Add(GetER7TextForSegmentArrayPart(PlannedPatientTransportComment, options));
			segmentParts.Add(GetER7TextForSegmentPart(ProcedureCode, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(ProcedureCodeModifier, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(PlacerSupplementalServiceInformation, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(FillerSupplementalServiceInformation, options));
			segmentParts.Add(GetER7TextForSegmentPart(MedicallyNecessaryDuplicateProcedureReason, options));
			segmentParts.Add(GetER7TextForSegmentPart(ResultHandling, options));
			segmentParts.Add(GetER7TextForSegmentPart(ParentUniversalServiceIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(ObservationGroupID, options));
			segmentParts.Add(GetER7TextForSegmentPart(ParentObservationGroupID, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(AlternatePlacerOrderNumber, options));
			return string.Join("" + options.FieldSep, segmentParts.ToArray());
		}

    }
}

